using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for Validator
/// </summary>
public static class Validator
{
    public static object[] Validate(params object[] paramValues)
    {
        for (int i = 0; i < paramValues.Length; i++)
        {
            if (paramValues[i].Equals(string.Empty)) paramValues[i] = DBNull.Value;
        }
        return paramValues;
    }
}
